package com.lmabbe.core.common.query;

import com.lmabbe.common.global.enums.WhereTypeEnum;
import com.lmabbe.common.global.query.PageQuery;
import com.lmabbe.common.global.query.WhereType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统参数表VO
 *
 * @author lmabbe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "系统参数表")
public class SysParamsQuery extends PageQuery {


    /**
     * 参数名称
     */
    @WhereType(type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "参数名称")
    private String paramName;

    /**
     * 参数key
     */
    @WhereType(type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "参数key")
    private String paramKey;

    /**
     * 值类型(1.txt 2.image 3.URL)
     */
    @WhereType(type = WhereTypeEnum.EQ)
    @ApiModelProperty(value = "值类型(1.txt 2.image 3.URL)")
    private Integer valueType;

}